import {createApp} from 'vue'
import '@/styles/global.css'
import '@/styles/main.css'
import App from './App.vue'

// naive-ui
import naive from 'naive-ui'
//router
import router from "./router";
//pinia
import {createPinia} from "pinia";


import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)


const app = createApp(App)


app
    .use(router)
    .use(naive)
    .use(pinia)
    .mount('#app')


